<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xhtml xsl">
	<xsl:output method="html" media-type="text/xhtml" omit-xml-declaration="yes" 
	version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 
	doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes"/>
	
	<xsl:template match="footer"> 
		 <div id="footer" lang="__language__" xml:lang="__language__">
		   	<img src="../../public_html/images/layout/vcss.gif" alt="css valid" />
  			<img src="../../public_html/images/layout/vxhtml.png" alt="xhtml valid" />
			<ul>
			<xsl:for-each select="link">
				<xsl:choose>
					<xsl:when test="@nameFile = //page/@pageName">
						<li><xsl:value-of select="." /></li>
					</xsl:when>
					<xsl:otherwise>
						<li><a href="{@nameFile}.html"><xsl:value-of select="." /></a></li>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
			</ul>
			<span><xsl:value-of select="//footer/n0Div" /></span>
  		</div>
	</xsl:template>
		
</xsl:stylesheet>
